﻿
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Rodunu.Business.Models.Movies
{
    [DataContract]
    [XmlInclude(typeof(Actor))]
    public class Role : Actor
    {
        [DataMember]
        public string Character { get; set; }

        public Role()
        {
        }

        public Role(string CharacterName, string ActorName)
            : base(ActorName)
        {
            Character = CharacterName;
        }
    }
}